.modal:active .modal-dialog:not(:active) {
    transform: scale(1.05);
}